package lab02.test13;

public class School extends ComputerAverage {
    @Override
        //方法：直接是总分除以总科目
    double average() {
        double sum=0;
        for(int i=0;i<=5;i++){
            sum +=scores[5];
        }
        return sum/5;
    }
}
